import request from '/@/utils/request';

export function saveForm(params?: object) {
    return request({
        url: '/api/notice/save',
        method: 'post',
        data:params,
    });
}

export function queryNoticeEntity(keyValue?: String) {
    return request({
        url: '/api/notice/query/' + keyValue,
        method: 'get',
    });
}
export function removeNotice(keyValue?: String) {
    return request({
        url: '/api/notice/remove/' + keyValue,
        method: 'post',
    });
}

export function releaseNotice(keyValue?: String) {
    return request({
        url: '/api/notice/release/' + keyValue,
        method: 'post',
    });
}

export function unReleaseNotice(keyValue?: String) {
    return request({
        url: '/api/notice/unRelease/' + keyValue,
        method: 'post',
    });
}


